/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package network;

import java.util.*;
import link.*;

/**
 * 
 * @author rogertroutman
 */
class ServicesTask extends TimerTask {

	PhysicalLayer pl;

	String name;

	ServicesTask(PhysicalLayer pl, String name) {
		this.pl = pl;
		this.name = name;
	}

	public void run() {
		pl.send("ALL:" + name + ":SERVICES:");
	}
}